package eclipse1;

public class Cat extends Animal{
    void punish(){
        System.out.println("打"+this.name+"的pp,"+this.name+"挠你一爪子");
        this.happy -= 10;
        System.out.println("快乐度" + this.happy);
    }
}
